/*
磅单模板

*/
import httpRequest from '@/utils/httpRequest'
// 获取审批设置列表
export function getList (data) {
  return httpRequest({
    url: '/basis/approvice/list',
    method: 'get',
    params: data
  })
}

// 新增审批设置或者修改
export function edit (data) {
  return httpRequest({
    url: '/basis/approvice/save',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
// 修改状态
export function modifyState (data) {
  return httpRequest({
    url: '/basis/approvice/modifyState',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
